@import "mixins";
@import "fonts";
@import "order-form-collapse";
/*@import "fonts";*/
.jspContainer {
  @import "custorm-scrollbar";
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap');

$order-pane-height: 120px;
$blurOfIngredientList: 12px;

/*$wrapping-panel-height: 33px;*/
$wrapping-panel_color: yellow;
$wrapping-panel_bgColor: #098009;

$order-pane-margin-height: 3px;
$order-pane-common-height: $order-pane-height + $order-pane-margin-height;
$components-pane-width: 25%;
$video-elem-size: $order-pane-height; /* * 1.618;*/
$csd-border-padding: 3%;

$price-color: #663399;

$top-offset: $order-pane-height + $order-pane-margin-height;

$order-submit-bg-color: #2d3436;

$catalog-name_height: 25px;

$loginRegistrationWidth: 60%;
$totalPriceWidth: 99% - $loginRegistrationWidth;

$componensPaneMargin: 50px;

/*body {
  font-family: 'Caveat', cursive;
  font-size: 22px;
}*/

.white-shadow {
  text-shadow: 0 0 4px white, 0 0 5px white, 0 0 5px white, 0 0 6px white, 0 0 6px white;
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#FFF')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#FFF')";
  -webkit-filter: drop-shadow(0 0 4px #FFF);
}

#content {
  background: none;
  position: relative;
}

.main-container {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0;
  background: none;
}

.components-in-stock {
  width: $components-pane-width;
  top: $top-offset;
  right: 0;
  height: calc(100vh - #{$top-offset});
  position: absolute;

  /*-webkit-filter: blur(#{$blurOfIngredientList});
  -moz-filter: blur(#{$blurOfIngredientList});
  -o-filter: blur(#{$blurOfIngredientList});
  -ms-filter: blur(#{$blurOfIngredientList});
  filter: blur(#{$blurOfIngredientList});*/

  .catalog-name {
    height: $catalog-name_height;
    background-color: #6b9163;
    border-right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
  }

  &.no-blur {
    -webkit-filter: none;
    -moz-filter: none;
    -o-filter: none;
    -ms-filter: none;
    filter: none;
  }
}

#order-form {
  width: 100% - $components-pane-width;
  float: left;
  position: relative;
}

.jspContainer {
  overflow: visible !important;
}

.vertical-pane {
  overflow: visible;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  background-image: url(/img/pizza-bg-sm.png);
}

.create-pizza {
  font-family: 'Caveat', cursive;
  font-size: 50px;
  font-weight: bold;
  color: wheat;
  text-shadow: 1px 1px 6px #000, 1px 1px 6px #000, 1px 1px 6px #000;
  text-align: center;

  position: absolute;
  right: calc(50% - 100px);
  /*transition: 5s ease-in;*/
  bottom: 55px;

  animation: blinker 1s linear infinite;

  /* rb - right bottom
  &.move-to-rb {
    transition: 5s ease-in;
    right: 5px;
    bottom: 0;
    font-size: 20px;
    animation: none;
  }*/

  /* rt - right top */
  &.move-to-rt {
    transition: 5s ease-in;
    right: 5px;
    top: 0;
    font-size: 20px;
    animation: none;
  }
}

.pizza-name {
  font-family: 'Caveat', cursive;
  font-size: 50px;
  font-weight: bold;
  color: wheat;
  text-shadow: 1px 1px 6px #000, 1px 1px 6px #000, 1px 1px 6px #000;
  text-align: center;

  position: absolute;
  right: calc(50% - 100px);
  bottom: 15px;

  /*animation: blinker 1s linear infinite;*/

  &.move-to-rb {
    transition: 5s ease-in;
    right: 5px;
    bottom: 0;
    font-size: 20px;
    animation: none;
  }
}

@keyframes blinker {
  /*50% { opacity: 0.4; }*/
  15% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  /*95% { opacity: 1; }
  100% { opacity: 0; }*/
}

.pizza-name {
  font-family: 'Caveat', cursive;
  font-size: 35px;
  color: #f5cc26;
  text-shadow: 1px 1px 6px #000, 1px 1px 6px #000, 1px 1px 6px #000;
  text-align: center;
}

.component {
  width: 80%;
  margin: 15px auto 8px;
  z-index: 1;

  .filler-wrapper {
    position: relative;
  }

  .filler-over {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
  }

  .img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    @include background-cover;
  }

  .price-discount {
    text-decoration: line-through;
  }

  .component-link {
    display: inline-block;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 40px;

    .filler {
      width: 100%;
    }

    .comp-info {
      position: absolute;
      left: 0;
      width: 100%;
      bottom: -24px;
      text-shadow: 0 0 4px black, 0 0 5px black, 0 0 5px black, 0 0 6px black, 0 0 6px black;
    }

    .short-name {
      overflow-x: hidden;
      white-space: normal;
      text-align: center;
      width: 100%;
      font-size: larger;
      line-height: 1;
      margin-bottom: 3px;
    }

    .price {
      color: wheat;
      white-space: nowrap;
      text-align: center;
    }
  }
}

.c-sign-in-price {
  font-size: smaller;
}

.sidebar {
  position: relative;
  padding-right: $order-pane-margin-height;

  .menu {
    width: 100%;
    height: $order-pane-height;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
  }

  .capt-price {
    display: none;
    width: $totalPriceWidth;
    position: relative;
    color: black;
    /*margin-top: 5px;
    margin-bottom: 20px;*/
    text-align: left;
    font-weight: bold;
    float: left;
    /*padding-left: $componensPaneMargin;*/

    .caption {
      float: left !important;
      display: inline;
      margin: 0 5px 0 0;
    }

    .total-price {
      /*float: right;*/
      display: inline;
      font-weight: bold;
      color: $price-color;
    }
  }

  .resulting-panel {
    border: 1px outset black;
    width: 30vw;
    height: 30vw;
  }

  .components-selected-details {
    width: 100%;
    margin-top: $order-pane-margin-height;
    height: calc(100vh - #{$order-pane-common-height});
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(90deg, #ffb44d 0 $csd-border-padding, #fff $csd-border-padding (100% - $csd-border-padding), #ffb44d (100% - $csd-border-padding) 100%);
    background-attachment: local;
    padding: 15px 30px;

    position: relative;
    text-align: center;

    .panel-detail {
      padding: 0 ($csd-border-padding * 1.6);
      margin-top: 15px;
    }

    &.hover {
      background: url(/img/arr-down-bg-lighter.svg) no-repeat 50% 50%, linear-gradient(90deg, #ffb44d 0 $csd-border-padding, #fff $csd-border-padding (100% - $csd-border-padding), #ffb44d (100% - $csd-border-padding) 100%);
      background-size: 80% 80%, auto auto;
    }

    .added-component {
      position: relative;
      display: flex;
      color: black;
      margin-bottom: 15px;

      /*& > * {
        display: inline-block;
      }*/

      .nice-line,
      .data-container {
        display: none;
      }

      .text-string {
        display: flex;
        align-items: center;
        width: calc(100% - 92px);
        font-weight: bold;
        font-size: larger;
        text-shadow: 0 0 4px white, 0 0 5px white, 0 0 5px white, 0 0 6px white, 0 0 6px white;

        .short_name {
          white-space: nowrap;
          /*overflow: hidden;*/
          margin-right: 7px;
          line-height: 1;
          color: #353531;
        }

        .price {
          white-space: nowrap;
          color: $price-color;
          margin-left: 7px;
          font-size: smaller;
        }

        .dots {
          white-space: nowrap;
          overflow: hidden;
          width: 100%;
        }
      }

      .image {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        @include background-contain;
        background-size: cover;
        margin-right: 10px;
        transition: 3s;

        display: flex;
        align-items: center;
        justify-content: center;

        .image-text {
          text-shadow: 0 0 4px white, 0 0 5px white, 0 0 5px white, 0 0 6px white, 0 0 6px white;
        }

        &.over {
          position: absolute;
          left: 0;
          top: 0;
        }

        &.flying {
          position: fixed;
          z-index: 6000;
        }
      }

      .elem-manage {
        margin-left: auto;
        margin-top: 13px;
        width: 20px;
        height: 30px;
      }

      .btn-delete {
        @include background-contain;
        background-image: url(/img/btn-close-orig-sm.png);
      }

      .btn-switch-component {
        @include background-contain;
        background-image: url(/img/hand-up.gif);
      }

    }
  }
}

.btn-order-container {
  position: absolute;
  top: 0;
  right: 0;
  height: $order-pane-height;
  width: $components-pane-width;
  background-image: url(/img/wall-tile-part-small.gif);
  display: flex;
  justify-content: center;
  z-index: 2;

  .btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    outline: none;

    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    /*margin: 20px auto;
    width: 99px;
    height: 80px;*/
    left: 0;
    top: 0;
  }
}

.added-component {
  -webkit-transition: opacity 1.2s ease;
  transition: opacity 1.2s ease;
  opacity: 1;
  display: flex;
  width: 100%;

  &.no-opacity {
    opacity: 0;
    -webkit-transition: opacity 1.2s ease;
    transition: opacity 1.2s ease;
  }

  /* Попытка пустить по кругу частицы
  .image {
    .dot {
      display: none;
      position: absolute;
      will-change: offset-distance;
      border-radius: 50%;
      width: 10px;
      height: 10px;
      background: hsl(313, 100%, 50%);
      offset-path: path("M250 397l-6-5C115 287 80 250 80 190c0-50 40-90 90-90 41 0 64 23 80 41 16-18 39-41 80-41 50 0 90 40 90 90 0 60-35 97-164 202l-6 5z");
    }
  }*/

  .image {
    /*&.dot {*/
    /*filter: drop-shadow(5px 5px 0px #ffb44d, -5px -5px 0px #ffb44d, 5px -5px 0px #ffb44d, -5px 5px 0px  #ffb44d);*/
    /*}*/
  }
}

.oven-wall {
  position: absolute;
  top: 0;
  left: 0;
  height: 80px;
}

.oven-order {
  position: relative;
  margin: 0 auto;
  /*position: absolute;
  top: 0;
  left: 0;*/
  /*height: 80px;*/
  /*width: 100%;*/
  height: $order-pane-height;
}

.flame-wrapper {
  position: absolute;
  top: 25px;
  left: 25px;
  border-radius: 50%;
  background: transparent;
  height: 48px;
  width: 50px;
  overflow: hidden;
}

.oven-flame {
  position: absolute;
  width: 50px;
  top: -16px;
  left: -1px;
}

.order-caption {
  position: absolute;
  top: 58px;
  left: 20px;
  color: white;
  font-weight: bold;
}

.vendor-panel {
  position: relative;
  overflow: hidden;

  .video {
    position: relative;
    float: right;
    overflow: hidden;
    background-color: #090909;
    border: none;
    width: 100%;
    height: $video-elem-size;

    background-image: url(/video/construct/default.gif);
    background-size: cover;
    background-position: center center;
  }
}

.select-components {
  font-weight: bold;
  color: black;
  position: absolute;
  top: 3%;
  right: 3%;
}

.ingredients {
  font-weight: bold;
  color: #F5DEB3;
  text-shadow: 1px 1px 3px #000, 1px 1px 3px #000;
  font-size: 20px;

  &.red {
    animation: red-blink 1s;
  }

  @media screen and (max-width: 460px) {
    font-size: 14px;
  }
}

@keyframes red-blink {
  0% {
    color: #F00;
  }
  100% {
    color: #F5DEB3;
  }
}

.slick-container {
  position: relative;
  overflow: hidden;
  height: $order-pane-height;
  /*background: linear-gradient(90deg, #ffb44d 0 $csd-border-padding, #000 $csd-border-padding (100% - $csd-border-padding), #ffb44d (100% - $csd-border-padding) 100%);*/
  /*padding: 0 $csd-border-padding;*/
  padding: 0;

  .video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000AA 0 2.8%, #ffb44d 2.8% 3%, #0000 3% 97%, #ffb44d 97% 97.2%, #000000AA 97.2% 100%);
  }

  .video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000AA 0 2.8%, #ffb44d 2.8% 3%, #0000 3% 97%, #ffb44d 97% 97.2%, #000000AA 97.2% 100%);
  }
}

.slick-pane-img {
  width: 100%;
  height: $order-pane-height;
  background-size: cover;
}

.arrow-down {
  width: 6%;
  min-width: 20px;
  margin: 5% auto;
}

.standard-pizzas-panel,
.customer-orders-panel,
.categories-panel {
  display: none;
  position: absolute;
  top: $order-pane-common-height;
  left: 0;
  width: 0;
  background-color: #2C4257;
  transition: 0.3s;
  z-index: 2;
  max-width: 400px;

  .header {
    font-style: italic;
    font-weight: 600;
  }

  &.unwrap {
    width: calc(100% - 31px);
    transition: 0.3s;
    padding: 10px;

    .btn-head {
      left: 100%;
      transition: 0.3s;
    }
  }

  .btn-head {
    cursor: pointer;
    text-align: center;
    color: $wrapping-panel_color;
    background-color: $wrapping-panel_bgColor;
    font-weight: bold;
    /*transform: rotate(90deg);
    transform-origin: 0 0;*/
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    padding: 20px 6px;
    letter-spacing: 3px;
  }

  .panel-elements-list {
    width: 100%;
    overflow: hidden;
    line-height: 2.2;

    .header-tip {
      text-align: right;
      color: yellow;
      font-size: smaller;
      line-height: 0;
    }

    .elem {
      cursor: pointer;

      &:hover {
        background-color: #999999;
      }
    }
  }

}

.customer-orders-panel {
  /*.categories-panel {*/
  top: 0;
  z-index: 3;

  .btn-head {
    height: $order-pane-height;
  }
}


/*.categories-panel {
  left: auto;
  right: 0;

  .btn-head {
    right: 0;
    left: auto;
    writing-mode: sideways-lr;
  }

  &.unwrap {
    .btn-head {
      right: 100%;
      left: auto;
    }
  }
}

.categories-panel {
  .elem {
    margin-top: 7px;
  }

  &.btn-head {
    position: absolute;
    width: 100%;
    bottom: 0;
    top: auto;
    left: 0;
    cursor: pointer;
    text-align: center;
    color: $wrapping-panel_color;
    background-color: $wrapping-panel_bgColor;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 20px;
    letter-spacing: 2px;
    transition: 0.3s;
  }

  &.panel-elements-list {
    right: calc(#{$components-pane-width} + #{$order-pane-margin-height});
    top: 0;
    overflow: hidden;
    width: calc(100% - #{$components-pane-width} - #{$order-pane-margin-height});
    height: 0;
    transition: 0.3s;
    padding-right: 10px;
    padding-left: 10px;

    &.unwrap {
      height: auto;
      transition: 0.3s;
    }
  }
}*/

.brick-wall {
  position: absolute;
  top: 0;
  left: 0;
}

.comp-amount {
  position: absolute;
  left: 25px;
  top: 25px;
  font-size: 20px;
  background-color: black;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: white;
  border: 1px #FFFFFF99 solid;
  line-height: 1.35;
}

.switch-component-modal {
  color: #2d3436;

  .close {
    opacity: 0.7 !important;
  }

  .switch-component {
    display: flex;
    margin: 10px 0;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 20px;
    padding: 0 15px;

    &.selected {
      background-color: #9D9D9D;
      color: white;
      font-weight: bold;
    }

    &:hover {
      background-color: #F5DEB3;
    }

    .image {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      @include background-cover;
    }

    .name {
      margin: 0 10px;
      overflow: hidden;
    }

    .price {
      margin-left: auto;
      color: #663399;
    }
  }
}

.popup-iframe {
  width: 100%;
  height: calc(100vh - 120px);
}

#order-form-submit {
  .preview-element-yd {
    width: 100%;

    &.error {
      .label {
        color: red;
      }
    }

    .label {
      white-space: nowrap;
      width: 100%;
      display: inline-block;
      text-align: left;
    }

    input,
    textarea,
    select {
      color: black;
      border-radius: 10px;
      width: 100%;
    }
  }

  .preview-element {
    display: flex;

    .price {
      margin-left: auto;
      color: #ff0080;

      .amount {
        color: #fff;
        margin-right: 7px;
        display: inline;
        font-size: 10px;
      }
    }

    &.total-price-element {
      margin-top: 15px;
      border-top: 2px #FFFF0055 dotted;
    }

    .label {
      white-space: nowrap;
      text-align: left;
    }
  }

  .order-data-container {
    background-color: $order-submit-bg-color;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    font-weight: bold;

    &.info-panel {
      h1, h2, h3, h4, h5, h6 {
        margin: 0;
      }
    }

    &.has-background {
      background-image: url(/img/pizza-bg-sm.png);
      background-size: 115px;
      text-shadow: 1px 1px 5px black;
      margin-top: 0;
    }

    .order-hint {
      margin: 10px 0;
    }

    .order-hint-2 {
      margin-top: 10px;
    }

    .info-message {
      font-size: smaller;
      font-weight: normal;
      font-style: italic;
      margin-top: 5px;
      color: yellow;

      &.red {
        color: red;
        font-weight: bold;
      }
    }

    .title {
      text-align: center;
      color: yellow;
      margin-bottom: 5px;
      font-size: 16px;
      font-style: italic;
    }

    &.select-providers {
      .btn-select {
        color: black;
        width: 100%;
      }

      .selector {
        width: 100%;
        margin: 0;

        input {
          margin-right: 5px;
        }

        /*&.first {
          margin-top: 10px;
        }*/
      }
    }
  }

  .dropdown {
    color: black;
    width: 100%;
    padding: 2px;
    border-radius: 10px;
  }

  .btn-submit-order {
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    font-weight: 800;
    text-transform: uppercase;
    background-image: url(/img/pizza-bg-sm.png);
    color: yellow;
    background-color: $order-submit-bg-color;
    text-shadow: 1px 1px 5px black;
    letter-spacing: 1px;
    outline: none;
  }
}

.pizzeria-panel {
  display: flex;
  margin: 10px;

  .btn-pizzeria-info {
    border-radius: 23px;
    color: black;
    border: none;
    background-color: #ffb700;
  }
}

.places-map {
  height: 220px;
  width: 100%;

  a {
    color: #0007 !important;
  }
}

.currency-sign {
  font-size: 10px;
}

#frm-confirmed-order {
  width: 100%;
  height: 1000px;
  border: none;
  display: none;
}

.error-messages {
  color: #c90000;
  background-color: black;
  border-radius: 10px;
  width: 100%;
  margin: 5px 0;
  padding: 8px;

  .err-title {
    color: white;
    font-style: italic;
  }
}

.map-placeholder {
  position: relative;
  margin-bottom: 12px;
  border: 1px solid gray;
}

.suggestions-wrapper {
  color: black;
}

.correct-geolocation {
  color: black;
  border-radius: 20px;
  width: 100%;
  background-color: #ffc86a;
  margin: 5px 0;
  padding: 2px;
}

.leaflet-popup-content {
  hr {
    margin: 5px 0;
  }
}

.registration-info {
  /*display: flex;*/
  display: inline-block;
  /*width: $loginRegistrationWidth;*/
  width: 100%;
  float: right;
  color: #1b1b1b !important;
  align-items: center;
  font-weight: bold;
  font-style: italic;
  /*border-bottom: 1px solid #eee;*/
  /*margin-bottom: 20px;*/
  /*padding-right: $componensPaneMargin;
  padding-left: $componensPaneMargin;
  padding-top: $componensPaneMargin;*/
  //padding: $componensPaneMargin $componensPaneMargin;

  .icon {
    margin-left: auto;
    font-size: 23px;
    cursor: pointer;
  }

  .caption {
    float: right !important;
    margin-left: 7px;
    text-align: right;
    margin-bottom: 10px;
  }

  .icon-enter {
    float: right;
  }

  .icon-exit {
    float: right;
    color: #1b1b1b !important;
    text-decoration: none !important;
    margin-left: 10px;

    /*&:hover {
      text-decoration: none;
    }*/
  }

  /** `...-ls` - last session */
  .restore-ls {
    font-size: 23px;
    float: left;
    cursor: pointer;
  }

  /*.folder-open-o {
    float: left;
    color: #1b1b1b !important;
    text-decoration: none !important;
    margin-left: 10px;
  }*/

}

.frame-fill {
  width: 100%;
  border: none;
  height: 70vh;
}

/*.auth-clients {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 30px;
}*/

.elem-pi {
  width: 30%;
  background-color: #1d1d1d;
  border-left: 1px solid black;
  float: right;
  text-align: center;
}

.elem-pi:hover {
  background-color: #e8e8e8;
  color: black;
}

.cbx-icon {
  color: #EEE;
}

@keyframes blink-green {
  50% {
    -webkit-box-shadow: 0 5px 15px rgba(0, 255, 0, 1);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 1);
  }
}

.blinking-border-order-accepted {
  animation: blink-green .5s step-end infinite alternate;
}

@keyframes blink-yellow {
  50% {
    -webkit-box-shadow: 0 5px 15px rgba(255, 255, 0, 1);
    box-shadow: 0 5px 15px rgba(255, 255, 0, 1);
  }
}

.blinking-border-order-accepted-by-courier {
  animation: blink-yellow .5s step-end infinite alternate;
}

@keyframes blink-red {
  50% {
    -webkit-box-shadow: 0 5px 15px rgba(255, 0, 0, 1);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 1);
  }
}

.blinking-border-order-courier-arrived {
  animation: blink-red .5s step-end infinite alternate;
}


/** ----------------------------------- **/
@keyframes blink-green-background {
  50% {
    background-color: rgba(0, 255, 0, .1);
  }
  /*from {opacity: .5;}
  to {opacity: 0;}*/
}

.blinking-background-order-accepted {
  background-color: rgba(0, 255, 0, .6);
  animation: blink-green-background 1s infinite;
}

@keyframes blink-yellow-background {
  50% {
    background-color: rgba(255, 255, 0, .1);
  }
}

.blinking-background-order-accepted-by-courier {
  background-color: rgba(255, 255, 0, .6);
  animation: blink-yellow-background 1s infinite;
}

@keyframes blink-red-background {
  50% {
    background-color: rgba(255, 0, 0, .1);
  }
}

.blinking-background-order-courier-arrived {
  background-color: rgba(255, 0, 0, .6);
  animation: blink-red-background 1s infinite;
}

.menu-unwrap-panel {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;

  .menu-unwrap-button {
    position: absolute;
    /*width: 30px;*/
    height: $order-pane-height;
    color: $wrapping-panel_color;
    background-color: $wrapping-panel_bgColor;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 1;
    writing-mode: vertical-lr;
    padding: 0 6px;
    letter-spacing: 3px;
    text-align: center;
    cursor: pointer;
  }

  .menu-unwrap-elems {
    /*position: absolute;*/
    position: static;
    /*background-color: red;*/
    height: $order-pane-height;
    top: 0;
    right: 0;
    width: calc(100% - 32px);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;

    .menu-item {
      $diameter: $order-pane-height / 1.5;

      display: flex;
      width: $diameter;
      height: $diameter;
      background-color: green;
      border-radius: $diameter;

      justify-content: center;
      align-items: center;

      margin: 0 3%;
      cursor: pointer;
    }
  }

  &.folded .menu-unwrap-elems {
    display: none;
  }
}

.pizzas-panel-elements-list,
.orders-panel-elements-list,
.you-panel-elements-list {
  overflow: hidden;
  position: absolute;
  top: $order-pane-common-height;
  left: 0;
  width: 0;
  background-color: #2C4257;
  transition: 0.3s;
  z-index: 2;
  max-width: 400px;

  .header {
    font-style: italic;
    font-weight: 600;
  }

  &.unwrap {
    width: calc(100% - 31px);
    transition: 0.3s;
    padding: 10px;

    .btn-head {
      left: 100%;
      transition: 0.3s;
    }
  }

  .btn-head {
    cursor: pointer;
    text-align: center;
    color: $wrapping-panel_color;
    background-color: $wrapping-panel_bgColor;
    font-weight: bold;
    /*transform: rotate(90deg);
    transform-origin: 0 0;*/
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    padding: 20px 6px;
    letter-spacing: 3px;
  }

  .panel-elements-list {
    width: 100%;
    overflow: hidden;
    line-height: 2.2;

    .header-tip {
      text-align: right;
      color: yellow;
      font-size: smaller;
      line-height: 0;
    }

    .elem {
      cursor: pointer;

      &:hover {
        background-color: #999999;
      }
    }
  }
}


.unwrapped-panel.unwrap {
  width: 100%;
  max-width: none;
  height: calc(100% - #{$order-pane-common-height});
  overflow-y: auto;
  background-color: #2C4257F0;
}

.unwrap-panel__close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  cursor: pointer;
}

.unwrap-panel__delete-button.address {
  width: 35px;
  float: right;
  top: -12px;
  position: absolute;
  right: 0;
  cursor: pointer;
}

.unwrap-panel-content {
  position: relative;
  margin-bottom: 15px;
}

.component-holder {
  margin: $componensPaneMargin 30px 40px;
}
